/*
 * @Descripttion: HN-SaaS管理系统
 * @version: 1.0.0
 * @Author: 侯建军
 * @Date: 2020-09-03 10:36:00
 * @LastEditors: 侯建军
 * @LastEditTime: 2020-09-11 11:09:31
 */
module.exports = {

    getToken() {
        return window.localStorage.getItem("token");
    },

    setToken(token) {
        window.localStorage.setItem("token", token);
    },
    clearToken() {
        window.localStorage.removeItem("token");
    },
    getItem(key) {
        return window.localStorage.getItem(key);
    },
    setItem(key, value) {
        return window.localStorage.setItem(key, value);
    }
}